package com.gu.mobileweb.service.impl;

import com.gu.mobileweb.mapper.IndexTrafficMapper;
import com.gu.mobileweb.model.IndexTraffic;
import com.gu.mobileweb.service.IndexTrafficService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexTrafficServiceImpl implements IndexTrafficService {
    @Autowired
    private IndexTrafficMapper indexTrafficMapper;

    @Override
    public List<IndexTraffic> getTrafficList() {
        return indexTrafficMapper.getTrafficList();
    }
}
